home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1995 October / EnigmA AMIGA RUN 01 (1995)(G.R. Edizioni)(IT)[!][issue 1995-10][Aminet 7].iso / Aminet / gfx / fract / fu1_61.lha / Formulas / Lens.Form < prev    next >
Text File  |  1995-06-08  |  250b  |  31 lines

  1. Lens
  2. {
  3.     {
  4.         x1=-2.0
  5.         x2= 1.0
  6.         y1=-1.5
  7.         y2= 1.5
  8.         par1.r=-0.75
  9.         par1.i=0.2
  10.         bailout=4.0
  11.     }
  12.     {
  13.         p=pixel-par1
  14.         i=abs(p)
  15.         pixel=pixel/i
  16.         z=pixel
  17.         c=pixel
  18.     }
  19.     {
  20.         z=z*z
  21.         z=z+c
  22.         w=abs(z)
  23.     }
  24.     {
  25.         w>bailout
  26.     }
  27.     {
  28.         PAR1 - CENTRE OF THE LENS
  29.     }
  30. }
  31.